package br.com.felix.fwt.svg;

public abstract class SVGBase<T> implements SVG{

	protected int x, y;
	protected SVGStyle style;

	public int getX() {
		return x;
	}

	public T x(int x) {
		this.x = x;
		return (T)this;
	}

	public int getY() {
		return y;
	}

	public T y(int y) {
		this.y = y;
		return (T)this;
	}

	public SVGStyle getStyle() {
		return style;
	}

	public T style(SVGStyle style) {
		this.style = style;
		return (T)this;
	}
}
